#ifndef __MY_MSG_THREAD_H_
#define __MY_MSG_THREAD_H_

#include <pthread.h>

struct msgbuf {
    long mtype;       /* message type, must be > 0 */
    unsigned int mtext[1000];    /* message data */
};


int my_msq_thread_init(pthread_t* pid);
int my_msg_thread_send(unsigned int *buf, unsigned int pointsNum);

void* my_msg_thread_run(void* args);

#endif